<template>
  <div>
    <div>{{ index }} - {{ source.text }}</div>
  </div>
</template>

<script setup lang="ts">
defineProps({
  index: {
    // index of current item
    type: Number,
  },
  source: {
    // here is: {uid: 'unique_1', text: 'abc'}
    type: Object,
    default() {
      return {};
    },
  },
});
</script>

<style lang="less" scoped></style>
